home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Hardware Hints / BoardId Registration / card_19317.txt < prev    next >
Encoding:
Text File  |  1989-04-24  |  2.8 KB  |  94 lines

  1. -- card: 19317 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2566
  5. -- name: Help-sRsrc_Type
  6.  
  7.  
  8. -- part 11 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=160 top=295 right=340 bottom=217
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1012 / 1012
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Go back
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   pop card
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 12 (field)
  28. -- low flags: 01
  29. -- high flags: 0004
  30. -- rect: left=15 top=12 right=290 bottom=499
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 3
  35. -- text size: 10
  36. -- style flags: 0
  37. -- line height: 13
  38. -- part name: 
  39.  
  40.  
  41. -- part 13 (button)
  42. -- low flags: 00
  43. -- high flags: A000
  44. -- rect: left=277 top=295 right=340 bottom=334
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 32650 / 32650
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: More...
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   go next card
  56.   -- how to hilite if user presses arrow key?
  57. end mouseUp
  58.  
  59.  
  60.  
  61. -- part 15 (button)
  62. -- low flags: 00
  63. -- high flags: A000
  64. -- rect: left=218 top=295 right=340 bottom=275
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 1016 / 1016
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Review
  73. ----- HyperTalk script -----
  74. on mouseUp
  75.   go previous card
  76.   -- how to hilite if user presses arrow key?
  77. end mouseUp
  78.  
  79.  
  80.  
  81. -- part contents for card part 12
  82. ----- text -----
  83.  
  84. The board sResource has constant, fixed values for the sRsrc_Type entries, so lets look at the sRsrc_Type entry for the more general case of functional sResources.
  85.  
  86. The sRsrc_Type entry is hiearchical in nature, and has within it four fields.  There are broad categories of possible functions a board can perform, and these are represented by the Category field.  Within each Category, subset types are defined (these are represented by the cType value).  Nested further in the hiearchy,  are subset software driver identifiers (the DrvrSW value).  And finally, within each DrvrSW entry, are hardware identifiers (the DrvrHW value).  The hierarchical relationship looks like:
  87.  
  88.          Category
  89.             cType
  90.                DrvrSW
  91.                   DrvrHW
  92.  
  93. In summary, there are many categories defined.  Within each category, certain cTypes are defined (that is, they can be thought of as sub-types of a GIVEN category).  Within each cType, certain software driver interfaces  are defined (again, a driver interface is defined for a given cType which is in a given Category).  For each software driver interface, certain hardware  interfaces  are defined.  Of course, new values for any of these fields may be defined at any time.
  94.